package com.zidian.teacher.bean;

import com.google.gson.annotations.SerializedName;
import com.zidian.teacher.common.BaseEntity;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2016/9/20 0020.
 */
public class GroupListBean extends BaseEntity {


    /**
     * groupingId : 0
     * num : 8
     * groupingName : 未分组
     * Group : [{"groupId":"233","groupingId":"0","studentId":"11081010433","studentName":"周玲","class":"材控20151","studentHeadPortrait":null},{"groupId":"234","groupingId":"0","studentId":"11101010414","studentName":"罗继承","class":"材控20151","studentHeadPortrait":null},{"groupId":"235","groupingId":"0","studentId":"11101020422","studentName":"杨威","class":"材控20151","studentHeadPortrait":null},{"groupId":"236","groupingId":"0","studentId":"11111040131","studentName":"熊倩","class":"材控20151","studentHeadPortrait":null},{"groupId":"229","groupingId":"0","studentId":"11011040105","studentName":"何鑫","class":"材控20153","studentHeadPortrait":"http://ling-zhi-jie.oss-cn-shanghai.aliyuncs.com/11011040105-HeadPortrait-myPicture.png?Expires=1789523788&OSSAccessKeyId=LTAIMUy5LebAYfzN&Signature=1MejY0n5PwZS5BODgCH3HbSqJEk%3D"},{"groupId":"230","groupingId":"0","studentId":"11031050212","studentName":"任徐李","class":"材控20153","studentHeadPortrait":null},{"groupId":"231","groupingId":"0","studentId":"11041010216","studentName":"余志海","class":"材控20153","studentHeadPortrait":null},{"groupId":"232","groupingId":"0","studentId":"11071030102","studentName":"顾天林","class":"材控20153","studentHeadPortrait":null}]
     */

    private List<DataBean> data = new ArrayList<>();

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private String groupingId;
        private int num;
        private String groupingName;
        /**
         * groupId : 233
         * groupingId : 0
         * studentId : 11081010433
         * studentName : 周玲
         * class : 材控20151
         * studentHeadPortrait : null
         */

        private List<GroupBean> group = new ArrayList<>();

        public String getGroupingId() {
            return groupingId;
        }

        public void setGroupingId(String groupingId) {
            this.groupingId = groupingId;
        }

        public int getNum() {
            return num;
        }

        public void setNum(int num) {
            this.num = num;
        }

        public String getGroupingName() {
            return groupingName;
        }

        public void setGroupingName(String groupingName) {
            this.groupingName = groupingName;
        }

        public List<GroupBean> getGroup() {
            return group;
        }

        public void setGroup(List<GroupBean> group) {
            this.group = group;
        }

        public static class GroupBean {
            private String groupId;
            private String groupingId;
            private String studentId;
            private String studentName;
            @SerializedName("class")
            private String classX;
            private String studentHeadPortrait;

            public String getGroupId() {
                return groupId;
            }

            public void setGroupId(String groupId) {
                this.groupId = groupId;
            }

            public String getGroupingId() {
                return groupingId;
            }

            public void setGroupingId(String groupingId) {
                this.groupingId = groupingId;
            }

            public String getStudentId() {
                return studentId;
            }

            public void setStudentId(String studentId) {
                this.studentId = studentId;
            }

            public String getStudentName() {
                return studentName;
            }

            public void setStudentName(String studentName) {
                this.studentName = studentName;
            }

            public String getClassX() {
                return classX;
            }

            public void setClassX(String classX) {
                this.classX = classX;
            }

            public String getStudentHeadPortrait() {
                return studentHeadPortrait;
            }

            public void setStudentHeadPortrait(String studentHeadPortrait) {
                this.studentHeadPortrait = studentHeadPortrait;
            }
        }
    }
}
